package com.zzz.schedule.service.impl;

import com.zzz.schedule.dao.SysScheduleDao;
import com.zzz.schedule.dao.SysUserDao;
import com.zzz.schedule.dao.impl.SysScheduleDaoImpl;
import com.zzz.schedule.dao.impl.SysUserDaoImpl;
import com.zzz.schedule.pojo.SysSchedule;
import com.zzz.schedule.pojo.SysUser;
import com.zzz.schedule.service.SysScheduleService;
import com.zzz.schedule.util.MD5Util;

import java.util.List;

/*
 * @author zzr
 * @date: 2025/07/14  18:05
 * @description:
 */
public class SysScheduleServiceImpl implements SysScheduleService {

    private SysScheduleDao scheduleDao = new SysScheduleDaoImpl();

    @Override
    public List<SysSchedule> finItemListByUid(int uid){
        return scheduleDao.finItemListByUid(uid);
    }

    @Override
    public Integer addDefault(int uid) {
        return scheduleDao.addDefault(uid);
    }

    @Override
    public Integer updateSchedule(SysSchedule schedule) {
        return scheduleDao.updateSchedule(schedule);
    }

    @Override
    public Integer removeSchedule(int sid) {
        return scheduleDao.removeSchedule(sid);
    }
}
